import React, { lazy, Suspense } from 'react'
import { createBrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
let Shou = lazy(() => import('../views/HanView/HomePage/Home'))
import { Loading } from 'react-vant'
const RouterConfig = () => {
    return <Suspense fallback={<div> <Loading type="spinner" color="#3f45ff" /> </div>}>
        <Routes>
            <Route path='/' element={<Shou></Shou>}/>
        </Routes>
    </Suspense>
}
export default RouterConfig;